//
//  FishingCell.m
//  MyFishHelper
//
//  Created by EmberWei on 2018/6/27.
//  Copyright © 2018年 EmberWei. All rights reserved.
//

#import "FishingCell.h"
#import "Marcro.h"

@implementation FishingCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.isSuceess = YES;
}

- (IBAction)actionSwitchChange:(UISwitch *)sender {
    self.isSuceess = sender.isOn;
    self.succLabel.text = sender.isOn ? @"命中" : @"未命中";
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

- (IBAction)actionClickButton:(UIButton*)sender {
    BLOCK_EXEC(self.block,sender.tag);
}


@end
